﻿import QtQuick 2.12
import QtQuick.Controls 2.5
import QtQuick.Window 2.12

//import Handler 1.0

Window {
    visible: true
    width: 640
    height: 480
    title: qsTr("Hello World")


    Loader {
        anchors.fill: parent
        id: btnLoader
    }

    Connections {
        target: Handler
        function onLoadComplete() {
            console.log("xxxx")
            btnLoader.sourceComponent = Handler.getPageComponent()
        }
    }
}
